#ifndef STOPWATCH_MODEL_OBSERVER_H_INCLUDED
#define STOPWATCH_MODEL_OBSERVER_H_INCLUDED

#include <e32std.h>

typedef TTimeIntervalMicroSeconds TSnapshot;

class MStopwatchModelObserver
{
public:
  virtual void StopwatchStarted() = 0;
  virtual void StopwatchStopped() = 0;
  virtual void StopwatchNewSnapshotValue(const TSnapshot& aSnapshot) = 0;
  virtual void StopwatchReset() = 0;

protected:
  virtual ~MStopwatchModelObserver()
  {}
};

#endif //STOPWATCH_MODEL_OBSERVER_H_INCLUDED

